package com.ruoyi.logistic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.hqfinance.domain.HqSolicitor;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

@Data
//代业务员对客户结算
public class NetworkSalesmanSettlementClientDetail implements Serializable {
    private static final long serialVersionUID = 1629751268554715836L;
    /**
     * 主键
     */
    private Integer id;

    /**
     * 业务时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "业务时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date businessTime;

    /**
     * 网点信息
     */
    @Excel(name = "网点信息")
    private Integer networkNameId;

    /**
     * 运单号
     */
    @Excel(name = "运单号")
    private Integer transportCode;

    /**
     * 客户信息
     */
    @Excel(name = "客户信息")
    private Integer clientId;

    /**
     * 数据处理提示
     */
    @Excel(name = "数据处理提示")
    private String dataIsDispose;

    /**
     * 应收金额
     */
    @Excel(name = "应收金额")
    private BigDecimal shouldAmount;

    /**
     * 中转费/运费
     */
    @Excel(name = "中转费/运费")
    private BigDecimal transferFee;

    /**
     * 附加费
     */
    @Excel(name = "附加费")
    private BigDecimal extraFee;

    /**
     * 结算重量
     */
    @Excel(name = "结算重量")
    private Integer settleWeight;

    /**
     * 体积重
     */
    @Excel(name = "体积重")
    private Integer volumeWeight;

    /**
     * 所属业务员
     */
    @Excel(name = "所属业务员")
    private Integer salesmanId;

    /**
     * 预收面单费
     */
    @Excel(name = "预收面单费")
    private BigDecimal preSheetFee;

    /**
     * 未收面单费
     */
    @Excel(name = "未收面单费")
    private BigDecimal unSheetFee;

    /**
     * 目的省份
     */
    @Excel(name = "目的省份")
    private String aimProvince;

    /**
     * 目的市
     */
    @Excel(name = "目的市")
    private String aimCity;

    /**
     * 运输方式
     */
    @Excel(name = "运输方式")
    private String transportType;

    /**
     * 货物类别
     */
    @Excel(name = "货物类别")
    private String goodsType;

    /**
     * 签收网点
     */
    @Excel(name = "签收网点")
    private Integer signNetworkNameId;

    /**
     * 签收时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签收时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signTime;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private Long createBy;

    /**
     * 修改人
     */
    @Excel(name = "修改人")
    private Long updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp updateTime;
    //网点信息
    private NetworkName networkName;
    //    客户信息
    private NetworkClient networkClient;
//    所属业务员
    private HqSolicitor hqSolicitor;
//    签收网点
    private NetworkName signNetworkName;

    private SysUser sysUser;
}
